package cn.yu.takeoutbackend.employeeManagement.service;

import cn.yu.takeoutbackend.employeeManagement.entity.Employee;
import cn.yu.takeoutbackend.employeeManagement.entity.dto.EmployeeDto;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface EmployeeManagementService extends IService<Employee> {
    void add(Employee employee);

    void delete(Employee employee);

    Page<Employee> getEmployeeListWithPage(EmployeeDto employeeDto);

    List<Employee> selectEmployeeListByStatus(int status);
}
